package com.dsunsoft.rtu.dto;

import com.dsunsoft.rtu.common.vo.NgalainMenuTreeVO;
import com.dsunsoft.rtu.entity.SysMenu;
import com.dsunsoft.rtu.entity.SysUser;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@Data
public class SysUserMenuDto implements Serializable {
    private static final long serialVersionUID = -4554690682343227502L;

    /**
     * userId
     */
    private String userId;
    /**
     * 登录名
     */
    private String loginName;
    /**
     * 姓名
     */
    private String name;
    /**
     * 角色Code
     */
    private List<String> roleCodes = new ArrayList<String>();
    /**
     * 菜单列表
     */
    private List<NgalainMenuTreeVO> menuTreeList = new ArrayList<NgalainMenuTreeVO>();
    /**
     * 按钮权限
     */
    private List<SysMenu> buttonPermissionList = new ArrayList<>();
}
